//
//  BillsModel.m
//  wtshoppingcite
//
//  Created by TW on 15-4-22.
//  Copyright (c) 2015年 TW. All rights reserved.
//

#import "BillsModel.h"

@implementation BillsModel

- (id)initWithBillsModelList:(NSDictionary *)info{
    
    if(self = [super init]){
        
        id propertyOrderId = [info objectForKey:@"propertyOrderId"];
        self.propertyOrderId = ObjToString(propertyOrderId);
        
        id orderNumber = [info objectForKey:@"orderNumber"];
        self.orderNumber = ObjToString(orderNumber);
        
        id createTime = [info objectForKey:@"createTime"];
        self.createTime = ObjToString(createTime);
        
        id paymentAddress = [info objectForKey:@"paymentAddress"];
        self.paymentAddress = ObjToString(paymentAddress);
        
        id totalCost = [info objectForKey:@"totalCost"];
        self.totalCost = ObjToString(totalCost);
        
        id state = [info objectForKey:@"state"];
        self.state = ObjToString(state);
    }
    return self;
}

@end
